package org.jeecg.modules.extbpm.process.service.impl;

import java.util.List;
import java.util.Map;

import org.jeecg.modules.extbpm.process.entity.ExtActProcessForm;
import org.jeecg.modules.extbpm.process.mapper.ExtActProcessFormMapper;
import org.jeecg.modules.extbpm.process.service.IExtActProcessFormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 流程业务关联表
 * @author： jeecg-boot
 * @date：   2019-03-15
 * @version： V1.0
 */
@Service("extActProcessFormService")
public class ExtActProcessFormServiceImpl extends ServiceImpl<ExtActProcessFormMapper, ExtActProcessForm> implements IExtActProcessFormService {

	@Autowired
	private ExtActProcessFormMapper extActProcessFormMapper;
	
	@Override
	public List<String> queryFormTypeByProcessid(String processId) {
		return extActProcessFormMapper.queryFormTypeByProcessid(processId);
	}

	@Override
	public List<Map<String,String>> queryFieldByOnlineCode(String tableName) {
		return extActProcessFormMapper.queryFieldByOnlineCode(tableName);
	}

}
